import request from '@/utils/request'

// 查询总店员工列表
export function listStarDesignerZd(query) {
  return request({
    url: '/StarDesigner/StarDesignerZd/list',
    method: 'get',
    params: query
  })
}

// 查询总店员工详细
export function getStarDesignerZd(id) {
  return request({
    url: '/StarDesigner/StarDesignerZd/' + id,
    method: 'get'
  })
}

// 新增总店员工
export function addStarDesignerZd(data) {
  return request({
    url: '/StarDesigner/StarDesignerZd',
    method: 'post',
    data: data
  })
}

// 修改总店员工
export function updateStarDesignerZd(data) {
  return request({
    url: '/StarDesigner/StarDesignerZd',
    method: 'put',
    data: data
  })
}

// 删除总店员工
export function delStarDesignerZd(id) {
  return request({
    url: '/StarDesigner/StarDesignerZd/' + id,
    method: 'delete'
  })
}

// 导出总店员工
export function exportStarDesignerZd(query) {
  return request({
    url: '/StarDesigner/StarDesignerZd/export',
    method: 'get',
    params: query
  })
}